package com.example.drive.car.service;

import com.example.drive.car.pojo.Car;
import com.example.drive.car.pojo.CarDTO;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Service
public interface CarService {
    List<Car> getList();

    void add(CarDTO carDTO);

    void delete(Integer id);

    void update(CarDTO carDTO, Integer id);

    void uploadImage(Integer id, MultipartFile image);

    Car search(Integer id);


    void arrange(Integer id, Integer coach_id);
}